package com.spring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by Shirly on 2016/11/30.
 */
@Controller
public class SpringController {
    @RequestMapping("/test")
    public String test(){
        return "index";
    }
    @RequestMapping("/test1")
    public String test1(){
        return "index1";
    }
    @RequestMapping("/test2")
    public String test2(){
        return "index2";
    }

    @RequestMapping("/test3")
    public String test3(){
        return "loginCook";
    }

    @RequestMapping("/test4")
    public void test4(){

    }

}
